projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3a7436
)
(comint-dynamic-list-completions): Expand PATHDIR in call to
author
Roland McGrath
<roland@gnu.org>
Tue, 3 Aug 1993 07:52:10 +0000
(07:52 +0000)
committer
Roland McGrath
<roland@gnu.org>
Tue, 3 Aug 1993 07:52:10 +0000
(07:52 +0000)
file-name-completion.
lisp/comint.el
patch
|
blob
|
history
diff --git
a/lisp/comint.el
b/lisp/comint.el
index fa71e58290fac1ffbe6c5ca0bf0a73011d2358c0..d660ff48831eabdbef445416eec151ac36a732b1 100644
(file)
--- a/
lisp/comint.el
+++ b/
lisp/comint.el
@@
-1214,7
+1214,9
@@
it just adds completion characters to the end of the filename."
(pathnondir (file-name-nondirectory pathname))
(completions
(file-name-all-completions pathnondir
- (or pathdir default-directory))))
+ (if pathdir
+ (expand-file-name pathdir)
+ default-directory))))
(cond ((null completions)
(message "No completions of %s" pathname)
(ding))